package com.ityueqiangu.project.galleryappoint.domain;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import lombok.Data;
import com.ityueqiangu.core.web.domain.BaseEntity;
/**
 * 艺术馆预约表
 */

/**
 * @author Clever、xia
 * @title: GalleryAppoint
 * @description:
 * @date 2021-03-18 14:50:34
 */
@Data
public class GalleryAppoint extends BaseEntity{
	/** 主键 */
	private Integer id;
	/** 预约号 */
	private String appointNo;
	/** 艺术馆id */
	private Integer galleryId;
	/** 艺术馆名称 */
	private String galleryName;
	/** 展览id */
	private Integer exhibitionId;
	/** 是否审批 */
	private String isApprove;
	/** 展览名称 */
	private String exhibitionName;
	/** 预约日期 */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date appointDate;
	/** 时间段key */
	private String timePointKey;
	/** 时间段value */
	private String timePointValue;
	/** 预约人数 */
	private Integer appointAmount;
	/** 预约人id */
	private Integer appointUserId;
	/** 预约人姓名 */
	private String appointUserName;
	/** 审批人id */
	private Integer approveUserId;
	/** 审批人姓名 */
	private String approveUserName;
	/** 审批时间 */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date approveTime;

}